package miracle.joker.design.adapter;

public class AdapterDemo {

    public static void main(String[] args) {
        AudioPlayer audioPlayer = new AudioPlayer();
        audioPlayer.play("MP3", "Wonderwall.mp3");
        audioPlayer.play("MP4", "Rhapsody in Blue.mp4");
        audioPlayer.play("VLC", "Fantasy in C Minor.vlc");
        audioPlayer.play("MP5", "Nothing else matters.mp5"); // Invalid media. MP5 format not supported
    }
}
